Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40:
I tried this for old style factorial, but it appears much below the
line in which it is used. How can I bring it up?
Replace the \inmframed command with \mcframed.
\define[1]\oldfact
{\mcframed[frame=off,strut=no,leftframe=on,bottomframe
-example.tex
Search for Alignment in inmframed in the mailing list archives.
% The next statement is part of the core. Included it here for % illustration.
\definemathframed[mcframed] [location=mathematics]
\starttext
\startformula
\ln (1+x) =
\mcframed[background=color
archives.
% The next statement is part of the core. Included it here for
% illustration.
\definemathframed[mcframed] [location=mathematics]
\starttext
\startformula
\ln (1+x) =
\mcframed[background=color,backgroundcolor=red,foregroundcolor=white,frame=off]{x
- {\frac {x^2}{\frac{x^3}{\frac{x
} + \cdots
\stopformula
we may write $\log(1+x) = x + O(x^2)$.
\stoptext
end mframed-example.tex
Search for Alignment in inmframed in the mailing list archives.
% The next statement is part of the core. Included it here for % illustration.
\definemathframed[mcframed] [location
that the two fractions do not align at the horizontal bar.
Is it possible for all expressions to be aligned at the math axis? Aditya
like this?
\unprotect
\newcount\c_pack_framed_mc
\unexpanded\def\mcframed
{\doifnextoptionalelse\pack_framed_mc_yes\pack_framed_mc_nop}
\unexpanded\def